from osgeo import ogr

lineString = ogr.Geometry(ogr.wkbLineString)
lineString.AddPoint(119.5,35.5)
lineString.AddPoint(119.6,35.6)
lineString.AddPoint(119.5,35.6)

print(lineString.ExportToWkt())
